<template>
    <div class='cont'>       
        <component v-bind:is="currentView"></component>       
    </div>
</template>
<script>
import show1 from "./Show1.vue";

//import show2 from "./Show2.vue";
import bus from "../../assets/bus.js"
export default {
    data:function(){
        return {
            currentView:show1
        }
    },
    mounted:function(){
        this.$emit("itemChange","show");
    }

}
</script>
<style scoped>
.cont{
    height: calc(100% - 100px);
    height: -moz-calc(100% - 100px);
    height: -webkit-calc(100% - 100px);
}
</style>




